<script setup>
import {ref} from 'vue'

const a = ref(0);

const addOne = ()=>{
  a.value++
}
</script>

<template>
  <div class="greetings">
    <el-button>Default</el-button>
    <el-button type="primary">Primary</el-button>
    <el-button type="success">Success</el-button>
    <el-button type="info">Info</el-button>
    <el-button type="warning">Warning</el-button>
    <el-button type="danger">Danger</el-button>

    <h2>======================</h2>
    <p>hello world</p>
    <p>{{ a }}</p>
    <el-button type="primary" @click="addOne">加1</el-button>
  </div>
</template>

